package com.sekill.goods.service.impl;

import com.sekill.goods.entity.TbSku;
import com.sekill.goods.mapper.TbSkuMapper;
import com.sekill.goods.service.ITbSkuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * sku表,该表表示具体的商品实体,如黑色的 64g的iphone 8 服务实现类
 * </p>
 *
 * @author gao
 * @since 2021-06-18
 */
@Service
public class TbSkuServiceImpl extends ServiceImpl<TbSkuMapper, TbSku> implements ITbSkuService {

    @Autowired
    TbSkuMapper tbSkuMapper;

    @Override
    public List<TbSku> listgoods() {
        return tbSkuMapper.listgoods();
    }
}
